Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natural Sort without interop #3196

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Natural Sort without interop #3196

merged 3 commits into from
Apr 26, 2024

Conversation

christophwille
Copy link
Member

@christophwille christophwille commented Apr 15, 2024

@christophwille christophwille added the dependencies Pull requests that update a dependency file label Apr 23, 2024
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass")]
public sealed class NaturalStringComparer : IComparer<string>
public sealed class NativeNaturalStringComparer : IComparer<string>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we keep the old one around?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is just for optionality reasons - eg if we ever wanted to compare for a bug report on sorting.

@siegfriedpammer siegfriedpammer merged commit 613266a into master Apr 26, 2024
9 checks passed
@christophwille christophwille deleted the naturalsort branch April 26, 2024 14:04
mattsh247 pushed a commit to mattsh247/ILSpy that referenced this pull request Jul 30, 2024
* Use NaturalSort.Extension instead of Interop

* Update to latest NaturalSort.Extensions and update 3rd party notices

* Remove old interop implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file X-Platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants